:root {
  --default: #2d8cf0;
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --text-color: #aaa;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


// html {
//   filter: grayscale(100%);
//   -webkit-filter: grayscale(100%);
//   -moz-filter: grayscale(100%);
//   -ms-filter: grayscale(100%);
//   -o-filter: grayscale(100%);
//   filter: url("data:image/svg+xml;utf8,#grayscale");
//   filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
//   -webkit-filter: grayscale(1);
// }


body,
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: #596172;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


// 选择文字的样式
*::selection {
  background: #262a30;
  color: #fff;
}

i {
  cursor: pointer;
}

img {
  width: 100%;
  height: 100%;
}

// 页面版心设计
.container {
  position: relative;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 20px;
}

ul {
  text-decoration: none;
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}



.date {
  font-size: 16px;
  font-family: "Oswald-Regular", "Microsoft Yahei", "Source Sans Pro", Arial, sans-serif;
  color: #c7c7c7;
  padding-right: 10px;
  border-right: 1px solid #39aa56;
}

.button-bule {
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  background-color: var(--default);
  border: 1px solid #06f;
}

.button {
  color: var(--text-color);
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #aaa;
  background: none;
}

.button:hover {
  background-color: #f6f6f6;
}


.button-bule:hover {
  background-color: #005ce6;
}

.input {
  padding-left: 10px;
  height: 34px;
  outline: none;
  border-radius: 999px;
  border: 1px solid #f6f6f6;
  background-color: #f6f6f6;
  overflow: hidden;
}


.button-bule:hover {
  background-color: #005ce6;
}

/* 全局公共样式 */
.border-warp {
  flex: 5;
  border-radius: 6px;
  max-width: 1200px;
  background-color: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 3px rgba(18, 18, 18, 0.1);

}




// 右侧卡片板块的通用样式
.right-main-warp {
  position: relative;
  max-width: 500px;
  margin-bottom: 20px;
  border: 1px solid #ebebeb;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(18, 18, 18, 0.1);
}



/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width: 8px;
}

/* 滚动槽 */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
  background-color: #ededef;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: #999595;
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: #ededef;
}




.fade-enter {
  transform: translate3d(0, 20px, 0);
  opacity: 0;
}

.fade-enter-to {
  opacity: 1;
}

.fade-enter-active {
  transition: transform 1s;

  .bar-warp {
    animation: fade-bar 1s;
  }

}

@keyframes fade-bar {
  0% {
    transform: translate3d(40px, 0, 0);
  }

  100% {
    transform: translate3d(70px, 0, 0);
  }
}



// 右侧过渡动画

.right-fade-enter {
  transform: translateX(20px);
  opacity: 1;
}

.right-fade-enter-to {
  opacity: 1;
}

.right-fade-enter-active {
  transition: all .6s;
}


// 响应式布局

@media screen and (max-width: 980px) {
  .multiport-hide {
    display: none !important;
  }
}

@media screen and (max-width: 700px) {
  .there-colors-ball {
    display: none !important;
  }
}

@media screen and (min-width: 980px) {
  .mobile-hide {
    display: none !important;
  }
}

@media screen and (max-width: 1120px) {
  .comment-hide {
    display: none !important;
  }
}




// 超大屏
@media screen and (min-width: 1800px) {
  .content-warp {
    min-width: 800px !important;
    max-width: 1200px !important;
  }

  .container {
    max-width: 1400px;
  }

  .header {
    width: 1550px !important;
    max-width: 2000px !important;
  }

  .toc-warp {
    padding-left: 10px !important;
  }

  .sun-warp {
    left: -20px !important;
  }

}

@media screen and (max-width: 1500px) {
  .sun-warp {
    display: none;
  }

}

@media screen and (max-width: 980px) {
  .page-bloglist {
    .art-card {
      .top-warp {
        display: none;
      }

      .title {
        line-height: 22px;
        text-align: center;
        padding-left: 0px !important;
        border-left: none !important;

        .top-warp-mobile {
          display: inline-block;
        }
      }
    }
  }
}

.mimesis-in-smooth {
  background: #ffffff;
  box-shadow: inset 24px 24px 47px #c7c7c7,
    inset -24px -24px 47px #ffffff !important;
}

.mimesis-in-rough {
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
  box-shadow: 24px 24px 47px #c7c7c7,
    -24px -24px 47px #ffffff !important;
}

.mimesis-out-smooth {
  background: #ffffff;
  box-shadow: 24px 24px 47px #c7c7c7,
    -24px -24px 47px #ffffff !important;

}

.mimesis-out-rough {
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow: 24px 24px 47px #c7c7c7,
    -24px -24px 47px #ffffff !important;
}


//  顶部top栏的布局
.el-tabs__nav {
  .el-tabs__item {
    width: 100px;
    text-align: center;
    font-size: 18px;
    color: #666;
    height: 60px;
    line-height: 60px;
  }
}

.el-tabs__active-bar {
  background-color: #f03838 !important;
}




@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    opacity: 0.5;
  }

  25% {
    -webkit-transform: rotate(90deg);
    opacity: 0.6;
  }

  50% {
    -webkit-transform: rotate(180deg);
    opacity: 0.7;
  }

  75% {
    -webkit-transform: rotate(270deg);
    opacity: 0.6;
  }

  100% {
    -webkit-transform: rotate(360deg);
    opacity: 0.5;
  }
}


.v-md-prism-csharp {
  pointer-events: none;
}

.v-md-pre-wrapper.copy-code-mode.v-md-pre-wrapper-jsx.extra-class {
  z-index: 0;
}